﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace Kis2012.Models
{
    [Table(Name = "t$ourroles")]
    public class Role
    {
        private int _RoleId;
        [Column(Storage = "_RoleId", Name = "f$nrec", IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert, DbType = "Int NOT NULL IDENTITY")]
        public int RoleId
        {
            get { return this._RoleId; }
            //set { _UserId = value; } 
        }

        [Column(Name = "f$name")]
        public string RoleName { get; set; }
    }
}